import java.util.Scanner;

public class Test14 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        if (Utils.isPrime(num)){
            System.out.println("P");
        }else{
            if(num%2==0) System.out.println("E");
            else System.out.println("O");
        }

    }
}
